<template>
	<view class="waik">
		<view class="toubu">
			<view :class="dangq==0?'xuanz':'weix'" @click="xuanzhel(0)">未审核</view>
			<view :class="dangq==1?'xuanz':'weix'" @click="xuanzhel(1)">已审核</view>
		</view>
		<view class="shiplieb" v-for="(item,index) in 5">
			<video 
				id="videoPlayer"
				class="shipcc"
				name="media"
				muted="muted"
				controls="controls"
				autoplay="autoplay"
				loop
			>
				<source :src="videoSrc" type="video/mp4">
			</video>
			<view class="pydner">
				<view class="biaoti">
					<view>2022-1-3</view>
					<view class="hegen" @click="shenhexx">审核</view>
				</view>
				<view class="pingdian">
					<view class="mendxx">
						<image class="toux" src="../../static/avatar.jpg" mode=""></image>
						<view class="xinx">
							<view class="diamc">西大东门店</view>
							<view class="dizhi">
								<image class="dizi" src="../../static/dizhi.png" mode=""></image>
								<view>南宁市大学路1号广西大学</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dangq:0,
			}
		},
		methods: {
			xuanzhel(e){
				this.dangq = e
			},
			shenhexx(){
				uni.navigateTo({
					url:'weisshenh'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.waik{
		width: 690rpx;
		padding: 0 30rpx;
		.shiplieb{
			width: 690rpx;
			// height: 450rpx;
			background: #f0f0f0;
			border-radius: 20rpx;
			margin-bottom: 20rpx;
			margin-top: 70px;
			.shipcc{
				width: 690rpx;
				height: 300rpx;
				border-radius: 20rpx 20rpx 0 0;
			}
			.pydner{
				padding: 0 20rpx 20rpx 20rpx;
				.biaoti{
					display: flex;
					align-items: center;
					justify-content: space-between;
					.hegen{
						padding: 10rpx 20rpx;
						background: #2979FF;
						color: #ffffff;
						font-size: 26rpx;
						border-radius: 20rpx;
					}
				}
				.pingdian{
					width: 650rpx;
					margin-top: 10rpx;
					font-size: 25rpx;
					color: #91949a;
					display: -webkit-box;
					word-break: break-all;
					-webkit-box-orient: vertical;
					-webkit-line-clamp:2;
					overflow: hidden;
					text-overflow:ellipsis;
					.mendxx{
						display: flex;
						align-items: center;
						.toux{
							width: 80rpx;
							height: 80rpx;
							border-radius: 40rpx;
						}
						.xinx{
							margin-left: 10rpx;
							.diamc{
								font-size: 28rpx;
								font-weight: bold;
								color: #111111;
							}
							.dizhi{
								display: flex;
								align-items: center;
								.dizi{
									width: 30rpx;
									height: 30rpx;
									margin-right: 10rpx;
								}
							}
						}
					}
				}
			}
		}
		.toubu{
			position: fixed;
			top: 44px;
			left: 0;
			width: 690rpx;
			padding: 30rpx;
			background: #ffffff;
			display: flex;
			justify-content: space-around;
			align-items: center;
			z-index: 999;
			.xuanz{
				width: 200rpx;
				text-align: center;
				border-bottom: solid 5rpx #ff007f;
				padding-bottom: 10rpx;
			}
			.weix{
				width: 200rpx;
				text-align: center;
				// border-bottom: solid 5rpx #ff007f;
				padding-bottom: 15rpx;
			}
		}
	}
</style>
